package com.wd.tw.mapper;

import java.util.List;

import com.wd.tw.domain.entity.ElevatorCameraSignal;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 相机信号映射Mapper接口
 * 
 * @author liumingkun
 * @date 2025-01-07
 */
@Mapper
@Repository
public interface ElevatorCameraSignalMapper 
{
    /**
     * 查询相机信号映射
     * 
     * @param cameraSignalId 相机信号映射主键
     * @return 相机信号映射
     */
     ElevatorCameraSignal selectElevatorCameraSignalByCameraSignalId(Long cameraSignalId);

    /**
     * 查询相机信号映射列表
     * 
     * @param elevatorCameraSignal 相机信号映射
     * @return 相机信号映射集合
     */
     List<ElevatorCameraSignal> selectElevatorCameraSignalList(ElevatorCameraSignal elevatorCameraSignal);


    List<ElevatorCameraSignal> selectEnableSignalList(ElevatorCameraSignal elevatorCameraSignal);

    /**
     * 新增相机信号映射
     * 
     * @param elevatorCameraSignal 相机信号映射
     * @return 结果
     */
     int insertElevatorCameraSignal(ElevatorCameraSignal elevatorCameraSignal);

    /**
     * 修改相机信号映射
     * 
     * @param elevatorCameraSignal 相机信号映射
     * @return 结果
     */
     int updateElevatorCameraSignal(ElevatorCameraSignal elevatorCameraSignal);

    /**
     * 删除相机信号映射
     * 
     * @param cameraSignalId 相机信号映射主键
     * @return 结果
     */
     int deleteElevatorCameraSignalByCameraSignalId(Long cameraSignalId);

    /**
     * 批量删除相机信号映射
     * 
     * @param cameraSignalIds 需要删除的数据主键集合
     * @return 结果
     */
     int deleteElevatorCameraSignalByCameraSignalIds(Long[] cameraSignalIds);
}
